package com.saydc.utils;

import com.lowagie.text.pdf.PdfContentByte;

public class AbsoluteWriter {
	
	PdfContentByte cb;
	public AbsoluteWriter(PdfContentByte cb) {
		this.cb=cb;
	}
	public PdfContentByte getCb() {
		return cb;
	}
	public void setCb(PdfContentByte cb) {
		this.cb = cb;
	}
	
	protected void write(int x, int y, String texto){
		cb.moveText(x, y);
		cb.showText(texto);
		cb.moveText(-x, -y);
	}

}
